public class demo {
    public static void main(String[] args) {
        MySingleList mySingleList = new MySingleList();
        mySingleList.creatList();
        mySingleList.display();
        mySingleList.addFirst(666);
        mySingleList.display();
        mySingleList.addLast(666);
        mySingleList.display();
        int ret = mySingleList.size();
        System.out.println(ret);
        mySingleList.addIndex(3,666);
        mySingleList.display();
        System.out.println(mySingleList.contains(666));
        mySingleList.remove(666);
        mySingleList.display();
        mySingleList.removeAll(666);
        mySingleList.display();
        mySingleList.clean();;
        System.out.println("===");
        mySingleList.display();;
        System.out.println("==");
    }

}
